import {type} from '@/store/mutations.type'
import Vue from 'vue'
export default {
  [type.INCRETMENT](state, payload) {

    console.log(payload)
    state.count += payload.count
  },

  [type.DECREMENT](state, payload) {
    state.count -= payload.count
  },
  [type.UPDATEINFO](state, payload) {
    Vue.set(state.info,'name',payload.name)
    // state.info.name = 'shixiaobai22'
  }

}